package org.jansansad.client;

import java.util.List;
import java.util.SortedSet;


import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {
	void listStates(AsyncCallback<SortedSet<String>> callback);

	void listConstituencies(String state, AsyncCallback<List<String>> callback);

	void getMpDetails(String constituency, String state,
			AsyncCallback<Member> callback);
}
